import request from '@/utils/request'

// 添加业务规则
export function add_page_bus_rule(data) {
  return request({
    url: '/ai_smart/page_rule',
    method: 'put',
    data: data
  })
}


// 修改功能流程步骤
export function update_page_bus_rule(data) {
    return request({
      url: '/ai_smart/page_rule',
      method: 'post',
      data: data
    })
}

// 删除功能流程步骤-单项
export function delete_page_bus_rule(data) {
    return request({
      url: '/ai_smart/page_rule',
      method: 'delete',
      data: data
    })
}

// 删除功能流程步骤-多项
export function delete_page_bus_rules(data) {
    return request({
      url: '/ai_smart/page_rule/s',
      method: 'delete',
      data: data
    })
}